package net.oschina.jerry.biz;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by jerry on 2016/6/22.
 */
public class HelloWorld {
    public static void main(String[] args){
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"classpath:dubbo-consumer.xml"});
        context.start();
        ILoginDemo loginDemo=(ILoginDemo)context.getBean("loginDemo");
        System.out.println(loginDemo.helloWorld());

    }
}
